package org.bee.mappers;

import org.apache.ibatis.annotations.Param;
import org.bee.model.BatchJob;
import org.bee.model.BatchJobExample;

import java.util.List;

/**
 * @author 陈国松
 * @date 2025-01-08 17:46:42
 * @description 定时任务调度表Mapper层
 * 表 batch_job
 */
public interface BatchJobMapper {

    long countByExample(BatchJobExample example);

    int deleteByExample(BatchJobExample example);

    int deleteByPrimaryKey(@Param("id") String id);

    int insert(BatchJob record);

    int insertSelective(BatchJob record);

    List<BatchJob> selectByExample(BatchJobExample example);

    BatchJob selectByPrimaryKey(String id);

    int updateByExampleSelective(@Param("record") BatchJob record, @Param("example") BatchJobExample example);

    int updateByExample(@Param("record") BatchJob record, @Param("example") BatchJobExample example);

    int updateByPrimaryKeySelective(BatchJob record);

    int updateByPrimaryKey(BatchJob record);
}